package cn.huolabao.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.huolabao.dao.SysRoleMapper;
import cn.huolabao.model.SysRole;
import cn.huolabao.service.SysRoleService;
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements SysRoleService{

    @Override
    public List<SysRole> selectRolesByUserId(Integer id) {
        return baseMapper.selectRolesByUserId(id);
    }
}
